CODEBOOK: out_of_state Dataset

Dataset: out_of_state_data
Description: All contributions to direct democracy campaigns from contributors residing outside the ballot measure state (includes individuals and Non-Individuals)

================================================================================

VARIABLE DESCRIPTIONS

1. year
   Variable Name: year
   Description: Year of the ballot measure election
   Data Type: Numeric
   Values: Year values (e.g., 2016, 2018, 2020, etc.)
   Source: State campaign finance databases

2. bm_state
   Variable Name: bm_state
   Description: State where the ballot measure appeared (two-letter abbreviation)
   Data Type: Character/String
   Values: Two-letter state codes (e.g., "SD", "CA", "FL", etc.)
   Source: State campaign finance databases

3. ballot_measure
   Variable Name: ballot_measure
   Description: Official designation or name of the ballot measure
   Data Type: Character/String
   Values: Ballot measure names/numbers (e.g., "AMENDMENT T", "Proposition 1", etc.)
   Source: State campaign finance databases

4. committee_name
   Variable Name: committee_name
   Description: Name of the committee that received the contribution
   Data Type: Character/String
   Values: Committee names (e.g., "#SDRTTHING2DO", etc.)
   Source: State campaign finance databases

5. status
   Variable Name: status
   Description: Electoral outcome of the ballot measure
   Data Type: Character/String
   Values: "PASSED", "FAILED"
   Source: State election results

6. description
   Variable Name: description
   Description: Brief description of the ballot measure's subject matter
   Data Type: Character/String
   Values: Description text (e.g., "Legislative Redistricting", etc.)
   Source: State ballot measure descriptions

7. contributor_name
   Variable Name: contributor_name
   Description: Name of the individual or organization making the contribution
   Data Type: Character/String
   Values: Contributor names (e.g., "sd farmers union", "farmers union enterprises", 
           "unitemized direct contributions from individuals")
   Source: State campaign finance databases

8. city
   Variable Name: city
   Description: City of contributor's address
   Data Type: Character/String
   Values: City names (e.g., "REDWOOD FALLS") or NULL for missing/unavailable data
   Source: State campaign finance databases

9. state
   Variable Name: state
   Description: State of contributor's address (two-letter abbreviation)
   Data Type: Character/String
   Values: Two-letter state codes different from bm_state (e.g., "MN") or NULL for missing data
   Note: May be NULL for contributors with missing address information but coded as out-of-state
   Source: State campaign finance databases

10. zipcode
    Variable Name: zipcode
    Description: ZIP code of contributor's address
    Data Type: Character/String
    Values: 5-digit ZIP codes (e.g., "56283") or "0NULL" for missing/invalid entries
    Source: State campaign finance databases

11. amount
    Variable Name: amount
    Description: Dollar amount of the individual contribution
    Data Type: Numeric
    Values: Dollar amounts (e.g., 3500.00, 60.00, 50000.00, etc.)
    Units: U.S. Dollars
    Source: State campaign finance databases

12. total
    Variable Name: total
    Description: Total amount raised by the committee
    Data Type: Numeric
    Values: Dollar amounts (e.g., 335338.43, etc.)
    Units: U.S. Dollars
    Source: State campaign finance databases

13. position
    Variable Name: position
    Description: Committee's position on the ballot measure
    Data Type: Character/String
    Values: "Support", "Oppose"
    Source: State campaign finance databases

14. committee_ID
    Variable Name: committee_ID
    Description: Unique identifier for the committee
    Data Type: Numeric
    Values: Numeric ID codes (e.g., 39762330, etc.)
    Source: State campaign finance databases

15. subject
    Variable Name: subject
    Description: General subject category of the ballot measure
    Data Type: Character/String
    Values: Subject categories (e.g., "Re-districting-Legislative", etc.)
    Source: Coding based on FollowTheMoney coding scheme

16. sub_narrow
    Variable Name: sub_narrow
    Description: More specific categorization of contributor type or industry
    Data Type: Character/String
    Values: Industry/sector categories (e.g., "Agriculture", "Unitemized Contributions")
    Source: Author coding based on contributor information

17. EntityType
    Variable Name: EntityType
    Description: Classification of contributor type
    Data Type: Character/String
    Values: "Individual", "Non-Individual", "Other"
    Note: Includes all entity types (individuals, organizations, and other)
    Source: State campaign finance databases

18. is_bordering
    Variable Name: is_bordering
    Description: Indicates whether contributor's state borders the ballot measure state
    Data Type: Logical/Boolean
    Values: TRUE (borders ballot measure state), FALSE (does not border)
    Source: Author coding based on geographic adjacency

19. population
    Variable Name: population
    Description: Population of the ballot measure state
    Data Type: Numeric
    Values: Population counts (e.g., 863693 for South Dakota)
    Units: Number of residents
    Source: U.S. Census Bureau

20. dd_state
    Variable Name: dd_state
    Description: Binary indicator for whether the contributor's state allows direct democracy
    Data Type: Numeric
    Values: 0 (no direct democracy), 1 (direct democracy allowed)
    Note: May be 0 for contributors with missing state information
    Source: Author coding based on state constitutional provisions

21. income
    Variable Name: income
    Description: Median household income of contributor's ZIP code area
    Data Type: Numeric
    Values: Dollar amounts (e.g., 47106) or *NA* for missing data
    Units: U.S. Dollars
    Source: U.S. Census Bureau American Community Survey

22. is_out_of_state
    Variable Name: is_out_of_state
    Description: Binary indicator for whether contributor is from outside the ballot measure state
    Data Type: Numeric
    Values: 1 (all observations are out-of-state by definition of dataset)
    Source: Author coding based on contributor and ballot measure state comparison

23. subject_narrowed
    Variable Name: subject_narrowed
    Description: Refined categorization of ballot measure subject matter
    Data Type: Character/String
    Values: Subject categories (e.g., "Government Operations", etc.)
    Source: Author coding based on detailed ballot measure analysis

================================================================================

DATA SOURCES AND CITATIONS

1. State Campaign Finance Databases: Individual state disclosure databases as listed in dd_threshold dataset
2. State Election Results: Official state election offices for ballot measure outcomes
3. State Ballot Measure Descriptions: Official state sources for ballot measure text and descriptions
4. U.S. Census Bureau: Population data and American Community Survey for income data
5. Author Coding (Supplemented by coding from FollowThe Money): Variables subject, sub_narrow is_bordering, dd_state, is_out_of_state, and subject_narrowed created through author analysis

================================================================================

NOTES

- This dataset is a subset of the full contributions data, filtered to include only out-of-state contributors
- Unlike out_of_state_ind dataset, this includes ALL entity types (Individual, Non-Individual, Other)
- All observations have is_out_of_state = 1 by definition

================================================================================

SAMPLE OBSERVATIONS

year | bm_state | state | contributor_name           | amount    | EntityType     | income
-----|----------|-------|----------------------------|-----------|----------------|--------
2016 | SD       | OR | sd farmers union           | 3500.00   | Non-Individual | *NA*
2016 | SD       |CA  | unitemized contributions   | 60.00     | Other          | *NA*
2016 | SD       | MN    | farmers union enterprises  | 50000.00  | Non-Individual | 47106
2016 | SD       | WA  | south dakota farmers union | 2500.00   | Non-Individual | *NA*